/*UHqtK6GpRvt3byYIQAGM40ZI96IsfiCvSRW9lFT9G00HREaF7vEngWiUnAhjRiSv*/
/*
 * @Author: Chendch
 * @Date: 2020-09-23 16:05:18
 * @LastEditors: Chendch
 * @LastEditTime: 2020-09-23 16:24:32
 */
function initTabTitle(temp) {
  let list = ["basic", "finance", "purchase"],
    titleArr = [];
  for(let [k,v] of Object.entries(temp)) {
    if(list.includes(k)) {
      titleArr.push({title: v.name, k});
    }
  }

  titleArr.unshift({title: "基础数据", k: "basic"});
  return titleArr;
}

export {
  initTabTitle
}
/*UHqtK6GpRvt3byYIQAGM40ZI96IsfiCvSRW9lFT9G00HREaF7vEngWiUnAhjRiSv*/
